<div class="section">
	<include file="header" />
	<div class="sysytem-app-main">
		<div class="row margin-none">
			<div class="system-app-search">
				<div class="panel panel-default">

					<div class="panel-body">
						<form action="<{$search_url}>" class="form-inline" role="form"
							method="get">

							<div class="form-group margin-right-5">
								<label for="title">标题:</label> <input class="form-control"
									type="text" name="title" id="title" value="<{$search.title}>" />
							</div>
							<div class="form-group margin-right-5">
								<label for="title">分类选择:</label> <select name="cat_id"
									class="form-control">
									<option value="-1">请选择</option>
									<volist name="catlist" id="vo">
									<option value="<{$vo.node_id}>"<if
											condition="$vo['node_id'] eq $search['cat_id']">selected</if>><{$vo.node_name}>
									</option>
									<if condition="$vo['child']"> <volist name="vo['child']"
										id="sub">
									<option value="<{$sub.node_id}>"<if
											condition="$sub['node_id'] eq $search['cat_id']">selected</if>><{$sub.node_name}>
									</option>
									</volist> </if> </volist>
								</select>
							</div>
							<div class="form-group margin-right-5">
								<button type="submit" class="btn btn-info">搜索</button>
							</div>
						</form>
						<div class="system-app-list">
							<table class="table table-bordered table-hover" width="100%">
								<colgroup>
									<col></col>
									<col class="col-lg-3"></col>
									<col></col>
									<col></col>
									<col></col>
									<col></col>
									<col></col>
									<col></col>
								</colgroup>
								<thead>
									<tr class="bg-water">
										<td style="text-align: left"><input type="checkbox"
											id="blankCheckbox" value="option1" aria-label="...">全选
										</td>
										<td>标题</td>
										<td>所属分类</td>
										<td>状态</td>
										<td>创建时间</td>
										<td>更新时间</td>
										<td>操作</td>
									</tr>
								</thead>

								<if condition="$count">
								<tbody>
									<volist name="list" id="vo">
									<tr>
										<td style="text-align: left"><input type="checkbox"
											id="blankCheckbox" value="<{$vo.aid}>" name="aid[]">
										</td>
										<td><{$vo.title}></td>
										<td><{$vo.cname}></td>
										<td><{$vo.status}></td>
										<td><{$vo.created|date="Y-m-d H:i:s",###}></td>
										<td><{$vo.updated|date="Y-m-d H:i:s",###}></td>
										<td><a href="<{:U('Index/edit?aid='.$vo["aid"])}>">编辑</a>&nbsp;|&nbsp;<a href="<{:U('Index/del?aid='.$vo["aid"])}>">删除</a></td>

									</tr>
									</volist>

								</tbody>
								<tfoot>
									<td colspan="2">
										<button type="button" class="btn btn-danger" id="del_button">批量删除</button>
									</td>
									<td colspan="5" class="text-right">
										<div class="text-right pull-right"><{$pager}></div> <span
										class="page-number">共&nbsp;<em class="text-primary"><{$count}></em>&nbsp;条记录
									</span>

									</td>
								</tfoot>
								<else />
								<tr>
									<td colspan="7">还没有数据</td>
								</tr>
								</if>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>